<%@page import="com.kucun.bean.Users"%>
<%@page import="com.kucun.util.UID"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
response.setHeader("Pragma","No-cache"); 
response.setHeader("Cache-Control","no-cache"); 
response.setDateHeader("Expires", 0); 
response.flushBuffer();
Users user= (Users)request.getSession().getAttribute("user");
String s="HK"+UID.next();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../css/index.css">
<link rel="stylesheet" type="text/css" href="../jquery-easyui-1.4.5/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../jquery-easyui-1.4.5/themes/icon.css">
<link rel="stylesheet" type="text/css" href="../jquery-easyui-1.4.5/themes/color.css">
<script type="text/javascript" src="../jquery-easyui-1.4.5/jquery.min.js"></script>
<script type="text/javascript" src="../jquery-easyui-1.4.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="../js/putinstorage.js"></script>
<script type="text/javascript" src="../js/export.js"></script>
<script type="text/javascript" src="../js/json2.js"></script>
<script type="text/javascript" src="../jquery-easyui-1.4.5/locale/easyui-lang-zh_CN.js"></script>
<title>Insert title here</title>
<script type="text/javascript">
var path="<%=basePath%>";
var role="<%=user.getPower()%>"; 
var userid="<%=user.getUserid()%>"; 
var no="<%=s%>";
var crtid=null;
var crtname=null;

</script>
</head>
<body class="easyui-layout">
<div data-options="region:'north',border:false" style="height:50px;background-color: #F2F5F7;">
<input type="hidden" id="dqid" value="${user.userid }"/>
<input type="hidden" id="dqname" value="${user.username }"/>
<input type="hidden" id="tag" name="tag"/>
<input type="hidden" id="id" name="id"/>
<!-- <div id="searth" style="width:1000px;">
				<div>
				 搜索库存编号<input id="ss" class="easyui-searchbox"
						style="height: 30px"></input>
				</div>
				<div>
				<a class="easyui-linkbutton" onclick="query()" data-options="iconCls:'icon-search'">查询</a>  
				</div>
</div> -->

<div id="searth" style="font-size: 12px;">
搜索字段：<input id="ss" class="easyui-searchbox" style="width:300px" data-options="menu:'#mm',
prompt:'请选择字段后再输入',height:30,searcher:function(value,name){searcherGoods(value,name)}" />
<div id="mm" style="width:150px">
	<div data-options="name:'billno',selected:true">库存编号</div>
	<div data-options="name:'createname'">操作人</div>
	<div data-options="name:'bilddate'">完成时间</div>
	<div data-options="name:'states'">入库状态</div>
</div>
</div>
</div>
<div region="center"  split="true"   title="入库信息" style="overflow: hidden;">
<table id="billputin" style="background-color: green;"></table>
</div>
<div id="putinbilldetal"></div>
<div id="okuser"></div>
<div id="dialog2"></div>
</body>
</html>